Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the cwaypoint command #513

Draft
wants to merge 3 commits into
base: fabric
Choose a base branch
from
Draft

Conversation

xpple
Copy link
Collaborator

@xpple xpple commented Mar 27, 2023

Closes #510.

private static String getWorldIdentifier(FabricClientCommandSource source) {
String worldIdentifier;
if (source.getClient().isIntegratedServerRunning()) {
worldIdentifier = source.getClient().getServer().getSaveProperties().getLevelName();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this make waypoints disappear from a world if its name is changed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good thing to keep in mind for when I actually implement saving to a file.

@xpple
Copy link
Collaborator Author

xpple commented Mar 28, 2023

The only thing that remains is actually rendering the waypoints. I'll leave that to someone else as I don't have any experience with rendering stuff like this.

@xpple xpple added the enhancement New feature or request label Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Waypoints
2 participants